package com.xszx.serviceedu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xszx.serviceedu.entity.Course;
import com.xszx.serviceedu.entity.vo.CoursePublishVo;
import com.xszx.serviceedu.entity.vo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author 白熊
 * @since 2024-07-16
 */
public interface CourseMapper extends BaseMapper<Course> {
    CoursePublishVo selectCoursePublishVoById(String id);//根据id查询课程信息
    CourseWebVo selectInfoWebById(String courseId);//前台查询课程详细信息
}
